package sctu.edu.java.year2016.team04.luoxinghua.lianxi.sandam;

/**
 * Created by 落叶的思恋 on 2016/5/21.
 */
import java.util.Scanner;
public class suzhu {
    public static void main(String[] args) {
        Scanner scanf=new Scanner(System.in);
        int num[][]=new int[2][2];
        for(int i=0;i<2;i++)
            for(int j=0;j<2;j++){
            num[i][j] = scanf.nextInt();
        }
        for(int i=0;i<num.length;i++)
            for( int j=0;j<num[i].length;j++)
                System.out.print(num[i][j]+"");
        printArray(num);
    }
    private static void printArray(int [][]arr)
    {
        for(int i=0;i<arr.length;i++)
            for(int j=0;j<arr.length;j++){
           System.out.println(arr[i][j]+"");
            }
    }



}
